﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MYSMRM.Manager.Base;
using MYSMRM.Model;
using System.Data;

namespace MYSMRM.Manager.Interface
{
    public interface IQSTopicManager : IManager<QSTopic>
    {
        IList<QSTopic> LoadAllByPage(out long total, int id, int page, int rows, string order, string sort);

        IList<QSTopic> LoadAllEnable(int id);

        void Save(QSTopic topic, List<QSQuestion> lq);//shine 20130517与原来不同

        void Save(QSTopic topic, DataTable dto);

        void Update(QSTopic topic, List<QSQuestion> lq);//shine 20130517与原来不同

        void Update(QSTopic topic, DataTable dto);
    }
}
